package com.web.model;

import java.io.Serializable;
import java.lang.Long;
import java.lang.String;
import java.util.Date;

/**
 * ��������实体</p>
 * TNews对应数据库表 tb_news
 * @author wzy
 * @project web-model
 */
public class TNews implements Serializable {

	private static final long serialVersionUID = 1L;
	
	//主键字段
	private Long newId;//  new_id
	
	private String title;//  title
	
	private String content;//  content
	
	private String deleteFlag;//  delete_flag
	
	private Long createUser;//  create_user
	
	private Date createTime;//  create_time
	
	//set 和 get方法
	
	/**
	 * 
	 * @param newId
	 */
	public void setNewId(Long newId){
	
		this.newId=newId;
	}
	
	/**
	 * 
	 * @return Long
	 */
	public Long getNewId(){
	
		return this.newId;
	}
	
	/**
	 * 
	 * @param title
	 */
	public void setTitle(String title){
	
		this.title=title;
	}
	
	/**
	 * 
	 * @return String
	 */
	public String getTitle(){
	
		return this.title;
	}
	
	/**
	 * 
	 * @param content
	 */
	public void setContent(String content){
	
		this.content=content;
	}
	
	/**
	 * 
	 * @return String
	 */
	public String getContent(){
	
		return this.content;
	}
	
	/**
	 * 
	 * @param deleteFlag
	 */
	public void setDeleteFlag(String deleteFlag){
	
		this.deleteFlag=deleteFlag;
	}
	
	/**
	 * 
	 * @return String
	 */
	public String getDeleteFlag(){
	
		return this.deleteFlag;
	}
	
	/**
	 * 
	 * @param createUser
	 */
	public void setCreateUser(Long createUser){
	
		this.createUser=createUser;
	}
	
	/**
	 * 
	 * @return Long
	 */
	public Long getCreateUser(){
	
		return this.createUser;
	}
	
	/**
	 * 
	 * @param createTime
	 */
	public void setCreateTime(Date createTime){
	
		this.createTime=createTime;
	}
	
	/**
	 * 
	 * @return Date
	 */
	public Date getCreateTime(){
	
		return this.createTime;
	}
	
	
	@Override
	public String toString() {
		
		return "TNews [newId="+newId+",title="+title+",content="+content+",deleteFlag="+deleteFlag+",createUser="+createUser+",createTime="+createTime+"]";
	}
}
